import Vue from 'vue'
import App from './App'
import router from './router'
import 'common/stylus/index.styl'
import { Tabbar, TabbarItem, Grid, GridItem, Icon, Lazyload, Image, Button, DropdownMenu, DropdownItem, Search, Row, Col } from 'vant'
Vue.config.productionTip = false
Vue.use(Tabbar).use(TabbarItem)
Vue.use(Grid).use(GridItem).use(Icon).use(Lazyload).use(Image).use(Button).use(DropdownMenu).use(DropdownItem).use(Search).use(Col).use(Row)
/* eslint-disable no-new */
Vue.use(Lazyload, {
  loading: require('common/image/default.png')
})
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
